home *** CD-ROM | disk | FTP | other *** search
/ The World of Computer Software / The World of Computer Software.iso / pcg_105.zip / PCG2.DOC < prev    next >
Text File  |  1992-09-09  |  40KB  |  944 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. PC Gopher II 
  8. Version 1.05
  9.  
  10. 21 August 1992
  11.  
  12.  
  13.  
  14.  
  15. Daniel A. Torrey
  16. Computer and Information Services/User Assistance and Planning
  17. University of Minnesota
  18. Room 132 Shepherd Labs
  19. 100 Union St. SE
  20. Minneapolis, MN 55455
  21.  
  22.  
  23. I. Introduction
  24.  
  25. This manual describes PC Gopher II, hereafter referred to as Gopher, a
  26. program for IBM and compatible microcomputers that run the MS-DOS operating
  27. system.  PC Gopher II is a program that lets you search for and retrieve
  28. information stored on other computers, known as "gopher servers".
  29.  
  30. Individuals and departments at the University of Minnesota need fast
  31. access to large amounts of information.   Additionally, the departments
  32. responsible for this information need a fast and simple way to make
  33. information available. The Gopher Project was started in response to
  34. these needs;  Gopher will allow you to navigate through a universe of
  35. information provided by gopher servers.  Information is distributed
  36. amongst the gopher servers, but you don't need to know anything about 
  37. where the information is.  Once the Gopher program has connected to one
  38. gopher server, you will be able to browse through information on any
  39. additional gopher servers that the first server knows about.
  40.  
  41. Information is presented in the form of lists of items; items can be
  42. files, directories (somewhat like DOS directories) containing other
  43. directories or files, or search items, representing computers that
  44. will perform searches for files containing text that you specify.
  45.  
  46. Once you've found a file containing the information you need, Gopher
  47. can display the file in a window; it can also save it as a text file for
  48. you to view or edit with the word processor of your choice.
  49.  
  50. Gopher uses the standard IBM character set to emulate a graphical
  51. user interface (GUI).  For this reason, Gopher runs on a wide range
  52. of IBM PCs and compatibles, including the earliest PCs which contained a
  53. monochrome display adapter (with no graphics support).  In other words,
  54. Gopher does not require that you install a special graphics display
  55. adapter in your computer. 
  56.  
  57. With a GUI, you interact with the program by responding to graphical
  58. symbols which appear on the computer screen, rather than by issuing
  59. single line commands (as with the MS-DOS operating system).  Because of
  60. its graphical user interface,  Gopher is largely self-explanatory.  If
  61. you are familiar with the GUI in Microsoft Windows or the Apple
  62. Macintosh operating system, you will be able to run Gopher without
  63. much help from this manual.
  64.  
  65. We allow free distribution of Gopher to all interested parties as
  66. long as our copyright notices are not altered or removed and you do not
  67. charge others for distribution of our software.
  68.  
  69. Help!
  70.  
  71. If you run into difficulties installing or using Gopher, or have bug
  72. reports, suggestions, or general comments, you can send E-mail to us at:
  73.  
  74. gopher@boombox.micro.umn.edu
  75.  
  76. or if you prefer paper mail:
  77.  
  78. Gopher Project
  79. Microcomputer & Workstation Networks Center
  80. University of Minnesota
  81. Room 125 Shepherd Labs
  82. 100 Union St. SE
  83. Minneapolis, MN 55455
  84. U.S.A.
  85.  
  86. In all of your correspondence pertaining to Gopher, please indicate:
  87.  
  88.  - your PC Gopher II version number; and
  89.  - your operating system and version number (e.g., DOS 3.2).
  90.  
  91. II.  The Gopher User Interface
  92.  
  93. Gopher's user interface consists of several elements:
  94.  
  95. Lists
  96.  
  97. Lists are boxes containing one or more lines of text, with a "scroll bar"
  98. along the right side of the box.  The scroll bar allows you to see items
  99. in the list that aren't displayed on the screen; to scroll the list, click on
  100. the up or down arrows at the top and bottom of the scroll bar with the
  101. mouse, or use the arrow keys.
  102.  
  103. There is always one item in the list that's the "currently selected" item;
  104. if you click on it, or hit the enter key, the list will perform its default
  105. action on that item.  The currently selected item is indicated by 
  106. highlighting; the text and background colors of the currently selected item
  107. are colored differently than the rest of the list, or are shown in inverse
  108. video on a monochrome monitor.
  109.  
  110. Buttons
  111.  
  112. Buttons are rectangular areas of the screen which will respond to a mouse
  113. click by performing some action.   Buttons can also be operated by repeatedly
  114. hitting the <TAB> key until the button is highlighted, and then hitting
  115. the <ENTER> key.
  116.  
  117. Dialog Boxes
  118.  
  119. Dialog boxes allow Gopher to ask you for information.  For example, when
  120. you choose an search item from the list of available items, a dialog box
  121. will pop up to allow you to enter the text to search for.
  122.  
  123. Dialog boxes are also used to inform you of errors while Gopher is running.
  124. When one of these error dialog boxes pops up, you must click on the OK
  125. button (or hit <ENTER> on the keyboard) before you can continue using
  126. the program.
  127.  
  128. A dialog box can consist of many elements; buttons, fields to enter
  129. text, list boxes, and so on.  If you are using a keyboard rather than
  130. a mouse, you'll need to use the <TAB> key to select these various elements
  131. before you can use them.
  132.  
  133. Windows
  134.  
  135. Gopher uses windows to display information.  There are two different
  136. types of windows in Gopher; the Gopher window, which displays lists
  137. of items for you to choose from, and the file display window, which
  138. displays the contents of a file that you've chosen.
  139.  
  140. Both windows can be positioned anywhere on the screen, with the mouse or
  141. the keyboard.  To move a window with the mouse, position the cursor over
  142. the title bar of the window (the horizontal line marking the window's
  143. top edge), then press and hold the mouse button as you move the mouse.
  144. To move a window with the keyboard, type Ctrl-F5, and use the arrow keys
  145. to move the window around the screen.
  146.  
  147. In the upper left-hand corner of each window is a small rectangle
  148. enclosed in square brackets.  This is the window's close box; clicking
  149. with the mouse in the close box will close the window.  To close a
  150. window using the keyboard, type "Alt-F3".
  151.  
  152. In addition to these capabilities, the file display window can be
  153. resized.  To resize the window with the mouse, position the cursor in
  154. the lower right-hand corner, press the mouse button, and move the mouse.
  155. To resize the window from the keyboard, type "Ctrl-F5" (just like you
  156. did to move the window), hold the shift key down, and use the arrow
  157. keys.
  158.  
  159. The Menu Bar
  160.  
  161. The very top line of the computer screen contains Gopher's menu bar
  162. with three menu labels.  The menu bar looks like this:
  163.  
  164.     #      File     Window       Options
  165.  
  166. The menu bar is the primary mechanism you use to communicate with Gopher.
  167. The menus have pull-down labels; that is, when you select a title in the
  168. menu bar, a list of specific commands are dropped down from the menu label
  169. and displayed in a list.
  170.  
  171. If one of the commands in a pull-down menu is followed by three periods (...),
  172. choosing that command will display a dialog box, requesting further
  173. information.  If a command in a pull-down menu is not followed by three
  174. periods, this means that once you choose it, the indicated action will occur
  175. immediately.
  176.  
  177. You can use either a mouse or keyboard to select commands.  To use a
  178. mouse, click on the desired menu title to display the pull-down menu.
  179. (use only the left mouse button if your mouse has more than one button).
  180. Then click the desired command.  Alternatively,  you can push the mouse
  181. button down over a menu title and then continue to hold the mouse button
  182. down while you drag straight down from the menu title to the desired
  183. menu command, and then release the mouse button.  If you decide not to
  184. choose a command, just drag out of the boundaries of the pull-down menu
  185. and no action will be performed.
  186.  
  187. To choose menu commands using the keyboard, first pull down the menu.
  188. You do this by pressing the F10 key to make the menu bar active; when
  189. the menu bar is active, one menu title is highlighted.  If the menu
  190. title you want is not the one currently highlighted, use the arrow keys
  191. to move to the right or left along the menu bar, until the menu title
  192. you want to select appears highlighted.  Then press the <ENTER> key to
  193. pull down the menu.
  194.  
  195. There is also hot-key alternative to pull down a menu.  Hold the Alt key
  196. down while typing the letter corresponding to the first letter of the menu
  197. title you want; for example, type Alt-F to pull down the File menu. 
  198.  
  199. The hot key to pull-down the # menu (called the system menu) is Alt-Spacebar.
  200.  
  201. Once the menu you want is pulled down, use the up and down arrow keys to
  202. highlight the command you want, and press <ENTER> to perform the highlighted
  203. command.  You can also press the key corresponding to the highlighted letter
  204. of the desired command.
  205.  
  206. In addition to the four menus, there are two indicators at the left end of
  207. the menu bar.  The first indicator shows how much RAM is available to the
  208. program; the second one is a clock.
  209.  
  210. Menu Structure
  211.  
  212. The individual items under the pull-down menus are organized as follows.
  213. Highlighted letters (shown here as capital letters) are used to perform
  214. the various short-cuts described in the previous section and elsewhere
  215. in this manual.
  216.  
  217. Note that the key (capital) letter associated with each command is not
  218. always the first letter of the command.  In addition, some menu
  219. commands are considered to be so important that they can be activated
  220. with a keyboard alternative (in other words, without having to pull down
  221. any menu first).  These keys are also shown below.
  222.  
  223. The Preferences menu has a submenu listing user-configurable preferences;
  224. this submenu works the same way that the other menus do.
  225.  
  226.     Menu Title    Commands            Keyboard Alternative
  227.  
  228.     #         About PC Gopher II
  229.             Calculator
  230.             caLendar
  231.             Puzzle
  232.             DOS Shell
  233.  
  234.     File        new Gopher            Alt-G
  235.             Save file...            Alt-S
  236.             Item inspector...            Alt-I
  237.             Open bookmark list        F9
  238.             eXit                Alt-X
  239.  
  240.     Window    Next                F6
  241.             Zoom                F5
  242.             Move                Ctrl-F5
  243.             close                Alt-F3
  244.  
  245.     Options
  246.             Configure...            Alt-C
  247.             Preferences >
  248.                 Mouse...
  249.                 Video Mode
  250.  
  251.  
  252. The Status Bar
  253.  
  254. Gopher's status bar is located across the bottom line of the screen.
  255. The status bar looks like this:
  256.  
  257.     F10 Menus     Alt-X  Exit     Alt-G  New Gopher     Alt-F3  Close
  258.     
  259. The status bar contains "hot spots".  Hot spots are located wherever words
  260. occur in the status bar.  For example, "Alt-G  New Gopher" constitutes
  261. one hot spot.  Hot spots are separated from each other by more than one
  262. space.   When you click on a hot spot with a mouse, the indicated
  263. function will occur.  For example, when you click on the words "Alt-G
  264. New Gopher", Gopher will open a new Gopher window, and when you click
  265. on the words "Alt-X  Exit", Gopher will shut down and return you to
  266. the DOS prompt.
  267.  
  268. To activate a hot spot without using a mouse, hold down the Alt key, and
  269. type the letter indicated in the status bar.  For example, if you hold
  270. down the Alt key and press the F3 function key, Gopher will close the
  271. frontmost window.
  272.  
  273. III.  Installation
  274.  
  275. System Requirements
  276.  
  277. To run Gopher, your microcomputer must be connected to a local area
  278. network (LAN).  Usually, the LAN will be connected to the campus
  279. backbone network, allowing you to find information located on gopher
  280. servers outside of your network.
  281.  
  282. For your microcomputer to operate on the LAN, you must have a network
  283. adapter card installed.  In order to run Gopher, your network adapter
  284. card must be one supported by the Clarkson packet drivers, mentioned in
  285. the "Configuring Gopher" section below.  A set of the most popular packet
  286. drivers is available from boombox.micro.umn.edu, in the directory
  287.  
  288.   /pub/gopher/PC_client/drivers
  289.  
  290. Installation instructions are included with the packet drivers.
  291.  
  292. Gopher runs under DOS version 3.2 or greater and requires 640K of
  293. RAM.  Gopher was designed to run on a wide range of IBM PCs and
  294. compatibles, including the earliest PCs which contained only a
  295. monochrome display adapter, with no graphics support.
  296.  
  297. A Microsoft-compatible mouse is helpful but optional.  You must load
  298. mouse driver software into your system before running Gopher.  Note
  299. also that if your mouse contains more than one mouse button, you will only
  300. need to use the left mouse button when running Gopher.
  301.  
  302. How to Obtain The Gopher Software
  303.  
  304. The Gopher software consists of two files: GOPHER.EXE and GOPHER.OVR.
  305. You can obtain the software over the internet via anonymous FTP from
  306.  
  307.     boombox.micro.umn.edu
  308.  
  309. Look in the UNIX directory called
  310.  
  311.         /pub/gopher/PC_client
  312.  
  313.  
  314.  
  315. Loading Gopher and the Clarkson Packet Driver
  316.  
  317. Each Clarkson packet driver is a specialized piece of software designed
  318. to talk to a specific type of network adapter card.  In order to run PC
  319. Gopher, the appropriate Clarkson packet driver must be loaded into RAM
  320. (random-access memory) each time you start up your computer.  To do
  321. this, you first run the appropriate packet driver by typing the packet
  322. driver name, followed by the necessary parameters, as described in the
  323. documentation that comes with the packet driver set.  If you'd like the
  324. packet driver to load automatically whenever you start up your computer,
  325. you can add the packet driver command and parameters to your AUTOEXEC.BAT
  326. file.
  327.  
  328. After you have installed the appropriate packet driver, copy all of the
  329. Gopher files into a directory on your hard disk.
  330.  
  331. For example, suppose you have a 3Com 3c523 ethernet card installed in
  332. your PC.  The following two command lines represent an example of the
  333. steps needed to load the packet driver and start Gopher (of course,
  334. the specific packet driver and parameters will depend on your
  335. configuration).  Type each line following the command prompt and end
  336. each line by pressing the <ENTER> key:
  337.  
  338.         3C523 0x60 0x3 0x300
  339.  
  340.         GOPHER
  341.  
  342. As long as you do not turn the power off to your computer, you can quit
  343. Gopher and do other things and then start Gopher again without re-loading
  344. the packet driver. Also if you already have the packet driver loaded for other
  345. programs like FTP, Telnet, or tn3270, you do not need to re-load the packet
  346. driver before running Gopher.
  347.  
  348. There are several command-line parameters that Gopher understands; for more
  349. information, see the section entitled "Command-Line Parameters".
  350.  
  351. IV. Configuring Gopher
  352.  
  353. When you use Gopher for the first time, you need to enter some
  354. configuration information specific to your microcomputer.  Gopher
  355. needs these configuration parameters in order to identify your computer
  356. on the network.  Before you can enter this configuration data, you need to
  357. create a "resource file", which will hold the configuration data from one
  358. session to the next.
  359.  
  360. To create this file, run gopher with the /INIT switch, like this:
  361.  
  362.  C:\> GOPHER /INIT
  363.  
  364. Gopher will start up, create the resource file (GOPHER.REZ), and then quit.
  365. Note that running gopher with the /INIT switch will destroy any old resource
  366. files that you have lying around, so don't do this unless necessary!  If you
  367. create a new resource file, you'll have to go through the configuration process
  368. (below) again.
  369.  
  370. Now you're ready to configure Gopher.  Start Gopher by typing
  371.  
  372.  C:\> GOPHER
  373.  
  374. Gopher will look at the resource file, see that you haven't yet entered
  375. the necessary configuration information, and pop up a "Configure" dialog
  376. box. You must enter all of the requested parameters, according to the
  377. instructions which follow. (Consult your network administrator for the
  378. correct parameter information .)  You will not need to enter parameter
  379. information during subsequent Gopher sessions, because Gopher will save
  380. the parameters you have entered.  You can modify your configuration
  381. settings at any time by selecting Configure from the Options pull-down
  382. menu.
  383.  
  384. To enter or edit  any of the parameters in the Configure dialog box, use
  385. the <TAB> key (or Up and Down arrow keys) to advance to the appropriate
  386. parameter field.  If the field is a text field, just enter the appropriate
  387. information.  If the field is a series of checkboxes (a pair of square
  388. brackets followed by some text), use the space bar to toggle the check
  389. mark on and off, and the arrow keys to move between checkboxes.
  390.  
  391. Some of the addressing parameters can be left blank if your network has access
  392. to a BOOTP server; these parameters are indicated below.  BOOTP allows your
  393. microcomputer to ask another, "smarter" machine for network addressing
  394. information. Your network administrator will know if you have access to a
  395. BOOTP server; if you don't, you MUST enter all of the addressing information,
  396. or Gopher won't function properly.
  397.  
  398. To use BOOTP, check the "Use BOOTP" option box.  If you use BOOTP,
  399. you may still specify your own parameters; Gopher will use whatever
  400. addressing information you specify, and will use BOOTP to get the addresses
  401. that you leave blank.
  402.  
  403. There are several network parameters that can usually be left at the
  404. "factory settings"; these parameters are accessed by choosing the
  405. "Advanced..." button.
  406.  
  407. Basic Configuration Parameters
  408.  
  409. Server Name
  410.  
  411. This is the name of any gopher server on the network.  Your department may be
  412. running its own gopher server; if not, you are welcome to use our
  413. server, which goes by the name of :
  414.     
  415.         gopher.micro.umn.edu 
  416.         
  417. Gopher will attempt to connect to this server when you issue a "New
  418. Gopher" command.  Your explorations are not restricted to information
  419. stored on this particular server, but you will always start off here.
  420.  
  421. Port Number
  422.  
  423. This is the port number that Gopher will use to attempt to connect to
  424. the gopher server named above.  Currently, gopher servers use port 70
  425. for connections.
  426.  
  427. Your IP address
  428.  
  429. This is the IP address of your individual microcomputer or workstation.
  430. See your network administrator for a microcomputer IP address
  431. assignment.  If you are using BOOTP, you don't need to change this
  432. field; it can remain blank.
  433.  
  434. Your Netmask
  435.  
  436. The netmask parameter has to do with how your local area network is
  437. configured and connected to the backbone network at your work site.  See
  438. your network administrator for the correct value to enter here.  Many
  439. sites are configured to use a netmask of 255.255.255.0 (the default
  440. value).  If you are using BOOTP, you don't need to change this field; it
  441. can remain blank.
  442. Allow Telnet Sessions
  443.  
  444. If this checkbox is checked, Gopher will recognize Telnet Session items,
  445. and add them to item lists.  Note that you MUST also set the environment
  446. variable G_TEL correctly, or Gopher will not be able to use these items.
  447.  
  448. For more information on telnet session items, see the sections entitled
  449. "Gopher Item Types" and "Gopher and Environment Variables".
  450.  
  451. New Gopher On Startup
  452.  
  453. If this checkbox is checked, the program will automatically attempt
  454. to connect to the gopher server entered in the Server Name input
  455. line, whenever Gopher is started.  If not checked, you will have to
  456. select New Gopher from the File menu or the status bar to start the
  457. initial gopher session.
  458.  
  459. Use BOOTP
  460.  
  461. BOOTP is a network service that allows machines to get addressing
  462. information from a central server.  If you have access to BOOTP service,
  463. and this checkbox is checked, you can leave all of the addressing infor-
  464. mation blank, and Gopher will query the BOOTP server.  Your network
  465. administrator will be able to tell you if you have access to BOOTP service.
  466.  
  467. Nameservers
  468.  
  469. A name server converts a gopher server name into an IP address.  You
  470. type in the IP address of your nameserver in this parameter field (see
  471. your network administrator for the value to enter).  You may enter up
  472. to four nameserver addresses; they will be tried in the order in which
  473. they are entered.
  474.  
  475. If you are using BOOTP, you don't need to change this field; it can
  476. remain blank.
  477.  
  478. Gateways
  479.  
  480. A gateway is a device which gives your computer access to the outside
  481. world, by transferring information from one type of network to another.
  482. If you want to use Gopher to look at information on servers beyond
  483. your local area network (LAN), you must specify the IP address of your
  484. gateway.  You may enter up to four gateway addresses; they will be tried
  485. in the order in which they are entered.  Your network administrator can
  486. tell you the addresses of gateways accessible to you.
  487.  
  488. If you are using BOOTP, you don't need to change this field; it can
  489. remain blank.
  490.  
  491. Advanced Configuration Parameters
  492.  
  493. There are several advanced configuration parameters that can be
  494. used to tune network performance; these parameters are best left
  495. alone unless you're sure you know what you're doing!  The Advanced...
  496. button will bring up a second dialog box that will allow you to change
  497. these parameters.
  498.  
  499. Maximum Transfer Unit (bytes)
  500.  
  501. This is the largest size TCP/IP packet that Gopher will send.
  502.  
  503. Window Size (bytes)
  504.  
  505. This is the size of the TCP/IP data buffer.
  506.  
  507. Maximum Segment (bytes)
  508.  
  509. This is the maximum size packet that Gopher will accept; since Gopher
  510. cannot accept "fragmented" packets, this number must be small enough
  511. that the server won't be tempted to fragment packets as they are sent.
  512.  
  513. Query Timeout (sec)
  514.  
  515. This parameter sets the maximum time allowed for Gopher to send and
  516. receive data from your computer to the gopher server.   With the default
  517. value of 20 seconds, Gopher will wait 20 seconds for a response from
  518. the gopher server.  If a response does not come through within 20
  519. seconds, Gopher will present an error message at the bottom of the
  520. Gopher window and abort the operation in progress.  If a gopher server
  521. is slow and frequently times out, you may need to increase this
  522. value. 
  523.  
  524. Connection Timeout (sec)
  525.  
  526. When Gopher attempts to connect to a gopher server, this parameter
  527. sets the maximum number of seconds it will wait for the gopher server to
  528. acknowledge your attempt to connect.  The default value of 10 seconds is
  529. sufficient for most gopher servers.  If an error message is displayed
  530. stating "can't connect" when trying to connect to a server, try
  531. increasing this value. 
  532.  
  533. Name Lookup Timeout (sec)
  534.  
  535. This parameter sets the maximum number of seconds allowed for the domain
  536. name server on the network to convert a gopher server name to an IP
  537. address.  The default value is set to 10 seconds.  If an error message is
  538. displayed stating "can't get IP address" when trying to connect to a
  539. gopher server, try increasing this value.  
  540.  
  541. When you have finished entering the parameters, click on the Ok button
  542. to have Gopher save your changes to the configuration.  If you decide
  543. you don't want your parameter changes to be saved, click on the Cancel
  544. button.
  545.  
  546. Configuration Data File
  547.  
  548. All of the parameters that you enter in the Configure dialog box are
  549. stored in GOPHER.REZ.  If this file is damaged or lost, all of your
  550. configuration data will have to be reentered; you will first need to run
  551. Gopher with the /INIT switch to create a new copy of the file.
  552.  
  553. You can tell Gopher to use an alternate configuration file by setting
  554. the environment variable called G_REZ.  See the section entitled "Gopher
  555. and Environment Variables" for further information.
  556.  
  557. V.  Using Gopher
  558.  
  559. Once you have configured Gopher program, you are ready to start
  560. exploring the Gopher universe.  The Gopher universe is made up of many
  561. different computers, all acting as gopher servers.  However, you don't
  562. need to know anything about how these computers work, where they are, or
  563. how to connect to them; Gopher handles all of these details for you.
  564.  
  565. To start exploring, choose "New Gopher" from the File menu, or click on
  566. the words "Alt-G  New Gopher" on the status line (if you'd rather use
  567. the keyboard, type Alt-G).  Gopher will open a Gopher window, and
  568. attempt to connect to the server that you specified in the configuration
  569. dialog box.  If the attempt is successful, Gopher will retrieve a
  570. list of the items that the server knows about.  The list will look
  571. something like this:
  572.  
  573.     <F>    About Internet Gopher
  574.     <D>    Administrative Information
  575.     <D>    Official Daily Bulletin
  576.     <S>    Search Administrative Policies
  577.     
  578. Any item on the list can be selected either by moving the selection bar
  579. with the arrow keys and hitting <ENTER>, or by double-clicking with the
  580. mouse.
  581.  
  582. Gopher Item Types
  583.  
  584. At the beginning of each line in the item list is a character enclosed
  585. in brackets.  This character tells you what the item is; currently,
  586. Gopher knows about the following item types:
  587.  
  588. Character Type Name       Action When Selected
  589. <F>       File            retrieves the file
  590. <D>       Directory       shows you more items
  591. <S>       Search          prompts for text to search for
  592. <P>       Phone book      prompts for person to look up
  593. <T>       Telnet Session  connects you to another computer
  594.                           offering a terminal-based info
  595.                           system
  596.  
  597. Files
  598.  
  599. In the above example, line one refers to a file called "About Internet
  600. Gopher".  To see the contents of this file, select the item (see above)
  601. with either the mouse or the keyboard.  Gopher will attempt to
  602. retrieve the file, and display it in a separate window.  If the file is too
  603. large for Gopher to fit into available memory, it will put up a dialog box
  604. requesting that you specify a filename and directory to save the file in. 
  605. You can then open the file with your favorite word processor to see the
  606. contents.
  607.  
  608. You may also choose to save the information that you get back as a file,
  609. even if it is small enough for Gopher to display immediately in a
  610. window.  Just choose "Save File..." from the File menu, and enter the
  611. filename and directory that you want to save the file in.
  612.  
  613. The window that Gopher uses to display a file can be used to initiate
  614. searches for other files.  To search for files containing a particular
  615. word, double-click on the word in the file display window; Gopher
  616. will return a list of all of the files it could find that contain that
  617. word.  For example, if the file display window contained
  618.  
  619.     "The Microcomputer Center has information about Macintosh,
  620.         IBM, and Zeos personal computers and software."
  621.     
  622. and you wanted to find files containing references to Zeos, you would
  623. double-click on the word Zeos.
  624.  
  625. In order to use this feature, you must have a mouse.  If you don't have a
  626. mouse, you can still search for files containing text that you specify by
  627. using a search item, explained below.
  628.  
  629. Directories
  630.  
  631. Directories are like folders or drawers full of other items.  When Gopher
  632. first connects to the gopher server that you specify as your starting point,
  633. the list that you get back shows the contents of the main or "root" directory
  634. of that server.  
  635.  
  636. To see the contents of a directory, select it from the list using either
  637. the mouse or the keyboard. Gopher will request a list of the contents of the
  638. subdirectory that you selected, and will present this list in the Gopher
  639. window. 
  640.  
  641. Gopher keeps track of the directories that you have traversed, and
  642. will allow you to "back up" to previous directories by using the "Back Up"
  643. button.  To back up, you can either click once on the "Back" button, or
  644. select the button with the <TAB> key, and then hit <ENTER>.  In the
  645. above example, if you clicked on the "Back Up" button, Gopher would
  646. return you to the root directory, and display the original list of
  647. items.
  648.  
  649. Each time you look at a directory, Gopher attempts to save a "snapshot"
  650. of that directories contents in a local cache.  That way, if you descend
  651. a few levels into a directory tree, you can back up again quickly, without
  652. having to re-request listings of directories you've already seen from servers
  653. you've already talked to.  The cache is currently limited to the last five
  654. directories that you've looked at, and also to available memory; in other
  655. words, if you look at a directory with hundreds of items in it, the "snapshot"
  656. of that one directory may fill the cache completely.
  657.  
  658. In order to make sure that the cache doesn't end up holding out-of-date
  659. information, directory snapshots are considered invalid after five minutes,
  660. and are removed to make room for newer ones.
  661.  
  662. If you anticipate returning to a particular directory on a particular
  663. server, you can use the Bookmark List to save that position in the Gopher
  664. universe.  To save a bookmark, first navigate to the directory you want
  665. to remember, and the choose Open Bookmark List from the File menu.  Once
  666. the bookmark list opens up, click on the Add button; you will be prompted
  667. for a name for the bookmark.  To return to the bookmarked position later, 
  668. just open the bookmark list and select the bookmark you wish to return
  669. to.
  670.  
  671. Search Items
  672.  
  673. A search item is a computer that can search various gopher servers for files
  674. containing text that you specify.  If you select a search item, a dialog box
  675. will pop up for you to enter your search text in.   To start the search, click
  676. on the "Search" button, or just hit the <ENTER> key.
  677.  
  678. The search item returns a list of files that it knows about that
  679. contain ALL of the text that you enter in the input box.  If you entered
  680. the word "salmon", the search item would return a list of all of the
  681. files containing that word.  If you entered "salmon spinach", the search
  682. item will return a list of files that contain both the word "salmon"
  683. and the word "spinach"; it would NOT return the names of files that had
  684. only one of the two words.
  685.  
  686. Search Items and Logical Operators
  687.  
  688. Logical operators are special words that allow you to set up specific
  689. search conditions.  The logical operators "and", "or", and "not" are
  690. supported by search items.  You can use one or more of these operators
  691. to narrow the field of your search.
  692.  
  693. For example, suppose you want to find files that contain the word
  694. "salmon" or the word "spinach", but not both.  You can do this by
  695. entering "salmon or spinach" in the input box.  You can also use the
  696. word "and" to explicitly indicate that the files you're searching for
  697. must contain both words; this allows you to set up specific search
  698. conditions by using multiple logical operators.  Logical operators are
  699. evaluated in right-to-left order; the search pattern "spinach and salmon
  700. or broccoli" would result in a list of files that contained the word
  701. spinach and the word salmon, or just the word broccoli.
  702.  
  703. To exclude words from the search pattern, use "not".  The search phrase
  704. "macintosh not hypercard" would produce a list of files containing at
  705. least one reference to macintosh, and no references to hypercard.
  706.  
  707. You can substitute the | character for the operator "or", and the &
  708. character for the operator "and".  
  709.  
  710. Telnet Session Items
  711.  
  712. A telnet session item is a way to allow you access to information
  713. services that expect to communicate through generic "terminals".  When
  714. you select a telnet session item, Gopher will execute the terminal
  715. emulator if your choice, passing the name, address, and/or port number
  716. required to connect to the terminal-based service.
  717.  
  718. Gopher will NOT recognize these items by default; you need to tell Gopher
  719. that you wish to have telnet session items included in directory listing.
  720. To do this, make sure that the Allow Telnet Sessions checkbox in the
  721. Configure dialog is checked;
  722.  
  723. In addition to enabling access to telnet sessions, you must tell Gopher
  724. the name of your terminal emulation program, where it lives on your
  725. disk, and what parameters need to be passed to open the session.  Gopher
  726. reads this information from an environment variable called G_TEL; for
  727. information about setting up G_TEL, see the section entitled "Gopher and
  728. Environment Variables".
  729.  
  730. Phone Books
  731.  
  732. Phone book items are pointers to databases that contain information about
  733. people's phone numbers, office locations, e-mail addresses, and so on; 
  734. these databases are called CSO or QI servers.  When you select a phone book
  735. item, a dialog box will pop up, and Gopher will ask the database server for
  736. a list of items that you can ask about.  Once the list of these items is
  737. built, you'll build up a query by:
  738.  
  739.   1. selecting an item from the list, which will create an input line
  740.   2. typing in the search key next to the item name
  741.  
  742. You can build queries of up to five items; if you want to change the query,
  743. selecting the Clear button will clear all of the items you've chosen.
  744.  
  745. Once the query is set up, select the Lookup button, and the query will
  746. be sent to the server.  Any matching items will be displayed in a
  747. separate window, and can be saved to disk using the File menu's Save
  748. File... command.
  749.  
  750. Item Information
  751.  
  752. If you'd like to know more about an item on the list, such as the name of
  753. the machine that it resides on, you can open an item inspector by choosing
  754. Item Inspector from the File menu.
  755.  
  756. VI. Gopher and Environment Variables
  757.  
  758. The default behavior of Gopher can be altered by the use of environment
  759. variables.  Environment variables are "flags" that you can set from the
  760. DOS command line; these variables are then available for programs to
  761. examine and use.  To set an environment variable, you type
  762.  
  763.  set VARIABLE=VALUE
  764.  
  765. replacing VARIABLE with the name of the variable you'd like to set, and
  766. VALUE with the value you want to set it to.  For more information on
  767. environment variables, refer to your DOS manual.
  768.  
  769. Gopher uses four environment variables: G_OVR, G_REZ, G_BMK, and G_TEL.
  770. Only one of them must be set; you will not be able to access telnet session
  771. items if G_TEL is undefined.  The other three, G_REZ, G_BMK, and G_OVR,
  772. are optional; Gopher will use reasonable defaults (see below) if they aren't
  773. set.
  774.  
  775.  
  776. The G_REZ Environment Variable
  777.  
  778. By default, Gopher expects to get resources and configuration information
  779. out of a file called GOPHER.REZ, in the same directory as GOPHER.EXE.  You
  780. can tell Gopher to use a different directory and/or filename by defining
  781. G_REZ to the complete path and filename that you want used.
  782.  
  783. For example, if your configuration file is called GOPHER.FOO, and it lives
  784. on a network drive called I:, in the directory FILES, you could set G_REZ
  785. like this:
  786.  
  787.   set G_REZ=I:\FILES\GOPHER.FOO
  788.  
  789. and Gopher would use that file instead of GOPHER.REZ
  790.  
  791. Network administrators can use G_REZ to create separate configuration
  792. files for each client on the network; however, since Gopher reads from AND
  793. writes to the resource file, it CANNOT BE PLACED IN A READ-ONLY DIRECTORY.
  794.  
  795.  
  796. The G_OVR Environment Variable
  797.  
  798. This variable works exactly like G_REZ, except that it's used to define
  799. and alternate overlay file.  By default, Gopher will look for GOPHER.OVR
  800. in the same directory as GOPHER.EXE; you can tell Gopher to use a different
  801. overlay file by setting G_OVR.
  802.  
  803. The overlay file is opened in read-only mode, so it can be placed on a
  804. network drive in a read-only directory.
  805.  
  806.  
  807. The G_BMK Environment Variable
  808.  
  809. This variable also works like G_REZ, but it tells Gopher where to store bookmarks.
  810. By default, Gopher will save any bookmarks you create in GOPHER.BMK,
  811. in the same directory as GOPHER.EXE; you can tell Gopher to use a different
  812. bookmark file by setting G_BMK.
  813.  
  814.  
  815. The G_LOG Environment Variable
  816.  
  817. This variable tells Gopher where the error log file should be kept.  By
  818. default, Gopher will write to the file GOPHER.LOG, in the same directory
  819. as GOPHER.EXE.
  820.  
  821.  
  822. The G_TEL Environment Variable
  823.  
  824. In order to be able to use telnet session items, you MUST set an
  825. environment variable called G_TEL.  It should be set to the complete
  826. path to the executable file, including the filename, and the parameters
  827. you want to pass to the telnet program.
  828.  
  829. Gopher knows how to interpret certain symbols within the G_TEL string,
  830. replacing them with information that can't be generated until
  831. immediately before the session is started.  The symbols and what they're
  832. replaced by at runtime are:
  833.  
  834.   %a  address of target machine
  835.   %n  name of target machine
  836.   %p  port number of service on target machine
  837.  
  838. At a minimum, you need to include the symbols %n and %p as parameters;
  839. Gopher will replace these with the name and port number of the machine
  840. it needs to connect to.
  841.  
  842. So, for example, if the telnet program you're using was in the same
  843. directory as gopher, C:\GOPHER, and it was called TELAPP.EXE, you'd
  844. set G_TEL like this:
  845.  
  846.     C:\> set G_TEL=C:\GOPHER\TELAPP.EXE %n %p
  847.  
  848. If your telnet program needs a "#" in front of the port number, you'd
  849. set G_TEL like this:
  850.  
  851.     C:\> set G_TEL=C:\GOPHER\TELAPP.EXE %n #%p
  852.  
  853. If you are setting this variable from within a batch file, such as
  854. AUTOEXEC.BAT, remember that DOS will interpret a % as an environment
  855. variable, and batch files are executed by DOS, not by Gopher.  If you
  856. use the above example string in a batch file, G_TEL will be set like
  857. this:
  858.  
  859.     C:\GOPHER\TELAPP.EXE #
  860.  
  861. DOS looks at the %a and %p, sees that they aren't defined in the environment,
  862. and replaces them with null strings.  In order to prevent this, always use
  863. two percent signs when setting environment variables from a batch file:
  864.  
  865.     SET G_TEL=C:\GOPHER\TELAPP.EXE %%n #%%p
  866.  
  867. Just before a telnet session is executed, Gopher writes the command string
  868. to the logfile, GOPHER.LOG.  Since this happens AFTER the vaiable substitution
  869. occurs, you can look at the logfile to see how Gopher is interpreting the
  870. G_TEL variable; this may help in debuggin problems with telnet sessions.
  871.  
  872.  
  873. The MYIP Environment Variable
  874.  
  875. Gopher will search the environment for a variable called MYIP; if found,
  876. Gopher will ignore the information in the configuration file regarding
  877. your IP address, and use this address instead.
  878.  
  879.  
  880. The MYMASK Environment Variable
  881.  
  882. This variable works just like MYIP, except that it will be used to set
  883. the netmask of your machine.
  884.  
  885.  
  886. VII. Command-Line Parameters
  887.  
  888. Command-line parameters can also be used to customize Gopher's
  889. behaviour. The environment variables G_TEL, G_REZ, G_BMK, and G_OVR can
  890. all be overridden on the command line, by using the following switches:
  891.  
  892.  /R <path and filename to use for resource file>
  893.  /B <path and filename to use for bookmark storage>
  894.  /O <path and filename to use for overlay file>
  895.  /L <path and filename to use for error log file>
  896.  /T <string to pass to shell for telnet sessions>
  897.  
  898. To use any of these switches, type them on the command line, after GOPHER.
  899. For example, to set the overlay file to GOPHER.OVR in the directory C:\FOO,
  900. you would start Gopher by typing
  901.  
  902.   GOPHER /O C:\FOO\GOPHER.OVR
  903.  
  904. Note that you MUST include a space between the switch and the option. Command-
  905. line switches will override default settings and environment variables in all
  906. cases.
  907.  
  908. Finally, typing
  909.  
  910.  GOPHER /?
  911.  
  912. will list all of the command-line options.
  913.  
  914.  
  915. VIII.  Summary
  916.  
  917. Other Gopher Software
  918.  
  919. In addition to PC Gopher II, Macintosh, NeXTStep, XWindows, and vt100
  920. versions of the Gopher program are available; the user interfaces are
  921. roughly the same across all platforms.  This consistency helps simplify
  922. training for departments that have mixed computing environments.
  923.  
  924. Gopher server software is also available for the Macintosh.  If you or
  925. your department would like to set up a gopher server to distribute
  926. information, we would be happy to help you.
  927.  
  928. If you want to discuss Gopher, call or visit the Microcomputer
  929. HelpLine.  If you visit the HelpLine, our consultants can demonstrate Gopher
  930. for you.
  931.  
  932. Acknowledgments
  933.  
  934. We wish to extend our thanks to Borland International of  Scotts Valley,
  935. California, for continued excellence in the enhancement of their Turbo
  936. Pascal product. We developed Gopher using Borland's TurboVision, an
  937. object-oriented library of special-purpose routines provided with
  938. Borland's newest release of Turbo Pascal, Version 6.0.
  939.  
  940. For the use of the Clarkson Packet Drivers, the foundation on which our
  941. network products are based, we gratefully acknowledge Clarkson College
  942. of Potsdam, New York.
  943.  
  944.